Understanding the structure of hair